package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class MessageBoard {

    /** */
    private Long id;
    /** 昵称*/
    private String nickname;

    /** 留言内容*/
    private String content;

    /** 留言时间*/
    private Date createTime;

    /**
     * 预约业务
     */
    // private Long categoryId;
    private SystemDictionary category;

    /** 回复状态(未回复/已回复)*/
    private Boolean replystatus;

    public String getStatusDisplay() {
        if (replystatus) {
            return "已回复";
        } else {
            return "未回复";
        }
    }
}